package com.geek.crowdhub.service.business;

import com.geek.crowdhub.controller.v1.condition.business.PerkCondition;
import com.geek.crowdhub.dto.model.business.PerkDto;
import com.geek.crowdhub.dto.model.common.PageDto;

import java.util.List;

public interface PerkService {

    void removeByPrimaryKey(Long[] primaryKey);

    PerkDto save(PerkDto dto);

    PerkDto getByPrimaryKey(Long primaryKey);

    PageDto<PerkDto> findPageByCondition(PerkCondition condition);

    PerkDto update(PerkDto dto);

    void save(List<PerkDto> perkList, Long id);
}
